package com.jic.product.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.RestResult;
import com.jic.product.entity.ProductPropertyName;
import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.product.entity.ProductPropertyValue;
import com.jic.product.manage.request.ProductPropertyNameEditRequest;
import com.jic.product.manage.request.ProductPropertyValueRequest;
import com.jic.product.manage.response.ProductPropertyNameResponse;

/**
* 商品属性名称表
* @author : 
* @email : 
* @since : 2020-01-10 07:03:01
* @version : v1.0.0
*/
public interface ProductPropertyNameService {

    RestResult insert(ProductPropertyNameEditRequest productPropertyNameEditRequest);

    RestResult delete(String ids);

    RestResult update(ProductPropertyNameEditRequest productPropertyNameEditRequest);

    ProductPropertyName queryByPrimaryKey(Long id);

    List<ProductPropertyName> query(ProductPropertyName productPropertyName);

    PageResult<ProductPropertyNameResponse> queryPage(ProductPropertyName productPropertyName, Page pageQuery);

    List<ProductPropertyValue> queryPropertyValue(ProductPropertyValueRequest productPropertyValueRequest);

    ProductPropertyNameResponse queryPropertyValueById(ProductPropertyName productPropertyName);
}